export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}

export function validUsername(username) {
  return username.length > 3
}

export const validPassword = (password) => {
  return password.length > 5
}
